package com.max.xihu.patterns.template;

/**
 * @Author: Max
 * @Date: 2020-09-06 22:35
 * @Description:
 */
public class TempClient {

    public static void main(String[] args) {

        AbstractTemplate human = new HumanService();
        AbstractTemplate robot = new RobotService();
        //调用模板方法
        human.templateMethod();
        robot.templateMethod();
    }
}
